package com.todod.dto;

import java.util.Date;

public class UserDto {

	/**
	 * 主鍵
	 */
	private Long id;
	/**
	 * 登录名(只能由数字和字母组成)
	 */
	private String userName;

	/**
	 * 昵称
	 */
	private String nickName;
	/**
	 * 登录密码
	 */
	private String password;

	private String jobNum;
	/**
	 * 邮箱
	 */
	private String email;
	/**
	 * 手机
	 */
	private String phone;
	/**
	 * 对应角色ID
	 */
	private String roleId;
	/**
	 * 对应角色
	 */
	private String roleName;
	/**
	 * 权限code
	 */
	private String authCode;
	/**
	 * 状态1：启用，2：禁用
	 */
	private String userState;
	/**
	 * 状态
	 */
	private String stateName;
	/**
	 * 用户标识
	 */
	private String flag;

	/**
	 * 创建用户id（默认为：1）
	 */
	private String createUserId;
	/**
	 * 创建用户名称
	 */
	private String createUserName;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 修改用户名id（默认为：1）
	 */
	private String modifyUserId;
	/**
	 * 修改用户名id（默认为：1）
	 */
	private String modifyUserName;
	/**
	 * 修改时间
	 */
	private String modifyTime;
	/**
	 * 抽取标志位
	 */
	private String getFlag;
	/**
	 * 抽取批次号
	 */
	private String getBatch;

	private String companyId;
	private String companyName;

	private String type;
	private String departmentname;
	private Long departid;
	private String code;
	private String enterpriseCode;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Long getDepartid() {
		return departid;
	}

	public void setDepartid(Long departid) {
		this.departid = departid;
	}

	public String getDepartmentname() {
		return departmentname;
	}

	public void setDepartmentname(String departmentname) {
		this.departmentname = departmentname;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * @return the flag
	 */
	public String getFlag() {
		return flag;
	}

	/**
	 * @param flag the flag to set
	 */
	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getUserState() {
		return userState;
	}

	public void setUserState(String userState) {
		this.userState = userState;
	}

	public String getStateName() {
		return stateName;
	}

	public void setStateName(String stateName) {
		this.stateName = stateName;
	}

	public String getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getModifyUserId() {
		return modifyUserId;
	}

	public void setModifyUserId(String modifyUserId) {
		this.modifyUserId = modifyUserId;
	}

	public String getModifyUserName() {
		return modifyUserName;
	}

	public void setModifyUserName(String modifyUserName) {
		this.modifyUserName = modifyUserName;
	}

	public String getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(String modifyTime) {
		this.modifyTime = modifyTime;
	}

	public String getGetFlag() {
		return getFlag;
	}

	public void setGetFlag(String getFlag) {
		this.getFlag = getFlag;
	}

	public String getGetBatch() {
		return getBatch;
	}

	public void setGetBatch(String getBatch) {
		this.getBatch = getBatch;
	}

	public String getAuthCode() {
		return authCode;
	}

	public void setAuthCode(String authCode) {
		this.authCode = authCode;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getCompanyId() {
		return companyId;
	}

	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getJobNum() {
		return jobNum;
	}

	public void setJobNum(String jobNum) {
		this.jobNum = jobNum;
	}

	@Override
	public String toString() {
		return "UserDto [id=" + id + ", userName=" + userName + ", nickName=" + nickName + ", password=" + password
				+ ", jobNum=" + jobNum + ", email=" + email + ", phone=" + phone + ", roleId=" + roleId + ", roleName="
				+ roleName + ", authCode=" + authCode + ", userState=" + userState + ", stateName=" + stateName
				+ ", flag=" + flag + ", createUserId=" + createUserId + ", createUserName=" + createUserName
				+ ", createTime=" + createTime + ", modifyUserId=" + modifyUserId + ", modifyUserName=" + modifyUserName
				+ ", modifyTime=" + modifyTime + ", getFlag=" + getFlag + ", getBatch=" + getBatch + ", companyId="
				+ companyId + ", companyName=" + companyName + ", type=" + type + ", departmentname=" + departmentname
				+ ", departid=" + departid + ", code=" + code + "]";
	}

	public String getEnterpriseCode() {
		return enterpriseCode;
	}

	public void setEnterpriseCode(String enterpriseCode) {
		this.enterpriseCode = enterpriseCode;
	}

}
